-
Notifications
You must be signed in to change notification settings - Fork 309
Initialize test_v2d.py variables #1955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initialize test_v2d.py variables #1955
Conversation
Signed-off-by: Darby Johnston <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your changes status has failed because you have indirect coverage changes. Learn more about Unexpected Coverage Changes and reasons for indirect coverage changes. Additional details and impacted files@@ Coverage Diff @@
## main #1955 +/- ##
==========================================
+ Coverage 84.11% 85.00% +0.88%
==========================================
Files 198 181 -17
Lines 22241 13074 -9167
Branches 4687 1206 -3481
==========================================
- Hits 18709 11113 -7596
+ Misses 2610 1778 -832
+ Partials 922 183 -739
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 139 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
Good catch! However, should we look into why an uninitialized |
|
The default I'm not a Python expert, does Python have the concept of uninitialized values? Maybe the Python bindings should initialize the values unlike the C++ code. It's also interesting that the serialization fails, but maybe crazy numbers like |
|
Python doesn't have that notion, and some languages are moving away from uninitialized variables as a guard against unexpected bugs or security issues (e.g. reading passwords from someone else's freed memory). |
|
It should be fairly simple to initialize the values in the bindings, I can create a separate PR for that. I think we should merge this PR so there aren't any more random CI failures. Plus using values like |
19d12b8
into
AcademySoftwareFoundation:main
I have been seeing occasional CI failures with this error:
It looks like the variables being used are not initialized, causing them to have random values that can trigger the failure. I'm not sure why the serialization is failing but we should probably initialize the values so the tests are consistent.